﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common.LuaEngine;

/// <summary>
/// NPC脚本函数集合
/// </summary>
namespace Common.Script.Npc
{
    public class NPCConversationManager : AbstractPlayerInteraction
    {
        private int m_npcid;
        private MapleClient m_Client;
        public NPCConversationManager(MapleClient c, int npcid, MapleLuaEngine iv) : base(iv)
        {
            m_npcid = npcid;
            m_Client = c;
        }

        /// <summary>
        /// 获取脚本引擎
        /// </summary>
        /// <returns></returns>
        public MapleLuaEngine GetEngine()
        {
            return m_Engine;
        }

        public MapleClient GetClient()
        {
            return m_Client;
        }
    }
}
